package com.baizhi.service.impl;

import com.baizhi.entity.User;
import com.baizhi.service.UserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Override
    public User findUserById(String username) {
        if("zhangsan".equals(username)){
            return new User(1,"zhangsan","123456");
        }
        return null;
    }
}
